//
//  MyPhotoViewController.h
//  Bespoke
//
//  Created by Cheng on 12/9/6.
//
//

#import <UIKit/UIKit.h>
#import "EditMyPhoto.h"
#import "CreateBookView.h"
#import "BK_Enviroment.h"

@class MyPhotoViewController;

@protocol MyPhotoViewControllerDelegate <NSObject>

-(void)MyPhotoViewControllerDidClose:(MyPhotoViewController *)controller;
-(void)MyPhotoViewControllerDidSave:(MyPhotoViewController *)controller BoardName:(NSString *)GetBoardName;

@end

@interface MyPhotoViewController : UIViewController<UIPopoverControllerDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,EditMyPhotoDelegate, CreateBookViewDelegate>
{
    IBOutlet UIToolbar *Tb_CameraAction;
    IBOutlet UIImageView *IVw_MyPhoto;
    IBOutlet UIBarButtonItem *BBI_PhotoLibraryLocation;
    IBOutlet UIBarButtonItem *BBI_SaveToMyBoard;
    IBOutlet EditMyPhoto *Vw_EditMyPhoto;
}

@property (nonatomic, strong) CreateBookView *Vw_CreateBook;
@property (nonatomic, strong) EditMyPhoto *Vw_EditMyPhoto;

@property (nonatomic, strong) BK_Enviroment *BK_En_object;
@property (nonatomic, strong) UIPopoverController *popoverController;
@property (nonatomic, strong) UIImageView *IVw_MyPhoto;
@property (nonatomic, strong) UIImage *Image_MyPhoto;
@property (nonatomic, strong) NSData *ND_MyPhoto;
@property (nonatomic, strong) NSString *NS_MyPhotoName;
@property (nonatomic, strong) NSString *NS_PhotoType;
@property (nonatomic, strong) UIToolbar *Tb_CameraAction;
@property (nonatomic, strong) NSMutableArray *Array_AccountInfo;
@property (nonatomic, strong) UIViewController *VC_Controller;
@property (nonatomic, weak) id <MyPhotoViewControllerDelegate> delegate;

@end
